package com.wy.model.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "报修对象",description = "报修对象")
public class RepairEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="自增id",name="id",example="1",dataType = "Integer")
    private Integer id;

    @ApiModelProperty(value="用户id",name="householdId",required=true,dataType = "Integer")
    private Integer householdId; //sys_user 的id

    @ApiModelProperty(value="小区id",name="residenceId",required=true,dataType = "Integer")
    private Integer residenceId;

    @ApiModelProperty(value="楼栋id",name="buildingId",required=true,dataType = "Integer")
    private Integer buildingId;

    @ApiModelProperty(value="房屋id",name="houseId",required=true,dataType = "Integer")
    private Integer houseId;

    @ApiModelProperty(value="报修类型",name="repairType",required=true,dataType = "String")
    private String repairType;

    @ApiModelProperty(value="报修内容",name="content",required=true,dataType = "String")
    private String content;

    @ApiModelProperty(value="维修状态：0 未处理，1处理中，2已处理",name="status",required=true,dataType = "Integer")
    private Integer status;

    @ApiModelProperty(value="报修时间",name="startTime",required=true,dataType = "date")
    private Date startTime;

    @ApiModelProperty(value="处理时间",name="finishTime",required=true,dataType = "date")
    private Date finishTime;

    @ApiModelProperty(value="联系人姓名",name="contacts",required=true,dataType = "String")
    private String contacts;

    @ApiModelProperty(value="联系电话",name="phone",required=true,dataType = "String")
    private String phone;

    @ApiModelProperty(value="预约维修时间开始",name="appointmentStart",required=true,dataType = "date")
    private Date appointmentStart;

    @ApiModelProperty(value="预约维修时间结束",name="appointmentEnd",required=true,dataType = "date")
    private Date appointmentEnd;

    @ApiModelProperty(value="尽快",name="soon",required=true,dataType = "String")
    private String soon;

    @ApiModelProperty(value="维修类型",name="repairType",required=true,dataType = "String")
    private String accendant;//未使用

    @ApiModelProperty(value="处理人",name="operator",required=true,dataType = "String")
    private String operator;

    @ApiModelProperty(value="备注",name="remark",required=true,dataType = "String")
    private String remark;

    @ApiModelProperty(value="上传图片1",name="img1",required=true,dataType = "String")
    private String img1;

    @ApiModelProperty(value="上传图片2",name="img2",required=true,dataType = "String")
    private String img2;

    @ApiModelProperty(value="上传图片3",name="img3",required=true,dataType = "String")
    private String img3;

    @ApiModelProperty(value="上传图片4",name="img4",required=true,dataType = "String")
    private String img4;

    @ApiModelProperty(value="上传图片5",name="img5",required=true,dataType = "String")
    private String img5;

    @ApiModelProperty(value="上传图片6",name="img6",required=true,dataType = "String")
    private String img6;

    @ApiModelProperty(value="指派维修员id",name="ext1",required=true,dataType = "String")
    private String ext1;

    @ApiModelProperty(value="指派维修员姓名",name="ext2",required=true,dataType = "String")
    private String ext2;

    @ApiModelProperty(value="指派维修员电话",name="ext3",required=true,dataType = "String")
    private String ext3;

    @ApiModelProperty(value="指派维修员处理说明",name="ext4",required=true,dataType = "String")
    private String ext4;

    @ApiModelProperty(value="ext5",hidden=true)
    private String ext5;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getHouseholdId() {
        return householdId;
    }

    public void setHouseholdId(Integer householdId) {
        this.householdId = householdId;
    }

    public Integer getResidenceId() {
        return residenceId;
    }

    public void setResidenceId(Integer residenceId) {
        this.residenceId = residenceId;
    }

    public Integer getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(Integer buildingId) {
        this.buildingId = buildingId;
    }

    public Integer getHouseId() {
        return houseId;
    }

    public void setHouseId(Integer houseId) {
        this.houseId = houseId;
    }

    public String getRepairType() {
        return repairType;
    }

    public void setRepairType(String repairType) {
        this.repairType = repairType == null ? null : repairType.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts == null ? null : contacts.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getAccendant() {
        return accendant;
    }

    public void setAccendant(String accendant) {
        this.accendant = accendant == null ? null : accendant.trim();
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator == null ? null : operator.trim();
    }

    public String getImg1() {
        return img1;
    }

    public void setImg1(String img1) {
        this.img1 = img1 == null ? null : img1.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getImg2() {
        return img2;
    }

    public void setImg2(String img2) {
        this.img2 = img2 == null ? null : img2.trim();
    }

    public String getImg3() {
        return img3;
    }

    public void setImg3(String img3) {
        this.img3 = img3 == null ? null : img3.trim();
    }

    public String getImg4() {
        return img4;
    }

    public void setImg4(String img4) {
        this.img4 = img4 == null ? null : img4.trim();
    }

    public String getImg5() {
        return img5;
    }

    public void setImg5(String img5) {
        this.img5 = img5 == null ? null : img5.trim();
    }

    public String getImg6() {
        return img6;
    }

    public void setImg6(String img6) {
        this.img6 = img6 == null ? null : img6.trim();
    }

    public String getExt1() {
        return ext1;
    }

    public void setExt1(String ext1) {
        this.ext1 = ext1 == null ? null : ext1.trim();
    }

    public String getExt2() {
        return ext2;
    }

    public void setExt2(String ext2) {
        this.ext2 = ext2 == null ? null : ext2.trim();
    }

    public String getExt3() {
        return ext3;
    }

    public void setExt3(String ext3) {
        this.ext3 = ext3 == null ? null : ext3.trim();
    }

    public String getExt4() {
        return ext4;
    }

    public void setExt4(String ext4) {
        this.ext4 = ext4 == null ? null : ext4.trim();
    }

    public String getExt5() {
        return ext5;
    }

    public void setExt5(String ext5) {
        this.ext5 = ext5 == null ? null : ext5.trim();
    }

    public Date getAppointmentStart() {
        return appointmentStart;
    }

    public void setAppointmentStart(Date appointmentStart) {
        this.appointmentStart = appointmentStart;
    }

    public Date getAppointmentEnd() {
        return appointmentEnd;
    }

    public void setAppointmentEnd(Date appointmentEnd) {
        this.appointmentEnd = appointmentEnd;
    }

    public String getSoon() {
        return soon;
    }

    public void setSoon(String soon) {
        this.soon = soon;
    }
}